package com.yida.wy.basic.domain.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author lqq
 * @date 2023-08-25
 */
@Data
@ApiModel("业主认证提交request")
public class WyOwnerAttestSubmitRequest implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("小区ID")
    @NotNull(message = "小区ID不能为空")
    private Long communityId;

    @ApiModelProperty("小区名称")
    @NotBlank(message = "小区名称不能为空")
    private String communityName;

    @ApiModelProperty("楼栋ID")
    @NotNull(message = "楼栋ID不能为空")
    private Long buildId;

    @ApiModelProperty("楼栋名称")
    @NotBlank(message = "楼栋名称不能为空")
    private String buildName;

    @ApiModelProperty("楼栋标识码")
    @NotBlank(message = "楼栋标识码不能为空")
    private String buildCode;

    @ApiModelProperty("房屋ID")
    @NotNull(message = "房屋ID不能为空")
    private Long houseId;

    @ApiModelProperty("房牌号")
    @NotBlank(message = "房牌号不能为空")
    private String roomNum;

    @ApiModelProperty("房屋标识码")
    @NotBlank(message = "房屋标识码不能为空")
    private String houseCode;

    @ApiModelProperty("业主名称")
    @NotBlank(message = "业主名称不能为空")
    private String ownerName;

    @ApiModelProperty("身份证号码")
//    @NotBlank(message = "身份证号码不能为空")
    private String cardNum;

    @ApiModelProperty("手机号码")
    @NotBlank(message = "手机号码不能为空")
    private String ownerPhone;

    @ApiModelProperty("短信验证码")
//    @NotBlank(message = "短信验证码不能为空")
    private String smsCode;

    @ApiModelProperty("地区ID")
    @NotNull(message = "地区ID不能为空")
    private Long areaId;

    @ApiModelProperty("街道ID")
    @NotNull(message = "街道ID不能为空")
    private Long streetId;

    @ApiModelProperty("产权号")
    @NotBlank(message = "产权号不能为空")
    private String certificateNum;

    @ApiModelProperty("房产证图片地址")
    @NotBlank(message = "请上传房产证图片")
    private String certificateImgName;

    @ApiModelProperty("身份证正面")
    @NotBlank(message = "请上传身份证正面")
    private String idCardAImgName;

    @ApiModelProperty("身份证反面")
    @NotBlank(message = "请上传身份证反面")
    private String idCardBImgName;
}
